<!-- 不平衡弹窗 -->

<template>
  <WebModal path="unbalance" :title="MAP.TITLE" noFooter>
    <MajorTitle :title="MAP[`TITLE_${one.type}`]" />

    <div class="row6 marginBottom">
      <TrendChart v-bind="GETTER[`chart${one.type}`]" />
    </div>
  </WebModal>
</template>

<script>
// ============================== 导入依赖 ============================== //

import CORE from '@/CORE'

// ============================== 导出组件 ============================== //

export default {
  /**
   * 名称定义 (实际使用名称)
   */
  name: 'UnbalanceModal',

  /**
   * 混入列表 (配置选项合并)
   */
  mixins: [CORE.mixWeb('unbalance')],

  /**
   * 组件导入 (Abc.vue + Abc/index.vue)
   */
  ...CORE.components(
    require.context('@admin/views/Monitor/components', true, /vue$/),
    require.context('@admin/views/Monitor/Elec/components', true, /vue$/),
  ),
}
</script>
